using System;

namespace DemoWebapi01.Models
{
    /// <summary>
    /// 创建分类的请求模型
    /// </summary>
    public class CategoryCreateRequest
    {
        public string Name { get; set; }
        public string Icon { get; set; }
        public string Description { get; set; }
        public int DisplayOrder { get; set; } = 0;
    }

    /// <summary>
    /// 更新分类的请求模型
    /// </summary>
    public class CategoryUpdateRequest
    {
        public string Name { get; set; }
        public string Icon { get; set; }
        public string Description { get; set; }
        public int? DisplayOrder { get; set; }
    }
}